package com.zhkc.iess.online.test01.constant;

import io.netty.channel.Channel;
import io.netty.channel.ChannelId;

import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;

public class CommonConstant {

    /**
     * 存储 :  设备MN -> channel
     */
    public final static ConcurrentMap<String, Channel> clients = new ConcurrentHashMap<>();


    /**
     * 存储 :  channelId -> channel
     */
    public final static ConcurrentMap<ChannelId, Channel> connections = new ConcurrentHashMap<>();

}
